package com.dkt.android.base

import android.os.Build
import com.dtb.utils.base.DtbBaseFragment


/**
 * @author: jcm
 * @email: jiangcm@aplus-it.cn
 * @createTime: 20-6-3
 */
abstract class BaseFragment : DtbBaseFragment() {
    protected fun isStrangePhone(): Boolean {
        return ("mx5".equals(Build.DEVICE, ignoreCase = true)
                || "Redmi Note2".equals(Build.DEVICE, ignoreCase = true)
                || "Z00A_1".equals(Build.DEVICE, ignoreCase = true)
                || "hwH60-L02".equals(Build.DEVICE, ignoreCase = true)
                || "hermes".equals(Build.DEVICE, ignoreCase = true)
                || "V4".equals(Build.DEVICE, ignoreCase = true) && "Meitu".equals(Build.MANUFACTURER, ignoreCase = true)
                || "m1metal".equals(Build.DEVICE, ignoreCase = true) && "Meizu".equals(
            Build.MANUFACTURER,
            ignoreCase = true
        ))
    }
}